import shutil
import os
import time


# Define source file path and destination directory path
for i in range(0, 999999999):
    file_name = ""
    if i%2 == 0:
        file_name = "heron1.jpg"
    else:
        file_name = "not_heron_1.png"
    src_file = "/home/orangepi/Desktop/images/" + file_name
    dst_file = "/home/orangepi/Desktop/" + file_name 

    # Copy the file to the destination directory
    shutil.copy(src_file, dst_file)

    print("File copied successfully!")
    time.sleep(3)
